package com.ckf.login_wx.controller;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ckf.login_wx.util.Jy;

@RestController
@RequestMapping("/Zh")
public class ZhController {
	
	@RequestMapping("/url")
    public void ur(String url,HttpServletResponse response) throws IOException{
		//Jy jy=new Jy();
        //return jy.ModeAndView("static/"+url);
		response.sendRedirect("http://localhost:7070/"+url+".html");//http://localhost:7070/matecon.html
    }
}






